/*
 * @Author: 千锋爱佛僧
 * @公众号: 大前端私房菜
 * @Slogan: 千锋精品教程，好学得不像实力派！
 */
/*
 * @Author: 千锋爱佛僧
 * @公众号: 大前端私房菜
 * @Slogan: 千锋精品教程，好学得不像实力派！
 */
// 初始化状态机相关配置
import { createStore } from "vuex";
import count from "./modules/count.js";
import goods from "./modules/goods.js";
import classify from "./modules/classify.js";
import side from "./modules/side";
import user from "./modules/user.js";
import bread from "./modules/bread.js";
const store = createStore({
  modules: {
    count,
    goods,
    cfy: classify, //cfy模块名，classify模块名所对应的子模块对象
    side,
    user,
    bread,
  },
});

export default store;
